package br.unifor.cct.mia.velocity;

public class VelocityFactory {
	
	public static Velocity getVelocityInstance(String velocityClass)
			throws ClassNotFoundException, InstantiationException,
			IllegalAccessException {

		Velocity result = null;
		Class cls = Class.forName(velocityClass);
		result = (Velocity) cls.newInstance();

		return result;
	}
}
